package com.qf.pck.controller;

import com.qf.pck.entity.Package;
import com.qf.pck.service.PackageService;
import com.qf.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * <p>
 * 租户套餐表 前端控制器
 * </p>
 *
 * @author zhu
 * @since 2023-10-27
 */
@RestController
@RequestMapping("/package")
@CrossOrigin
public class PackageController {


    @Autowired
    private PackageService packageService;


    @GetMapping("all")
    public R<List<Package>> all(){


        return packageService.listPck();

    }



}
